package com.atguigu.mvc.entity;

import java.util.List;

public class School {

    private Integer schoolId;
    private String schoolName;
    private String buildDate;
    private List<String> subjectList;

    @Override
    public String toString() {
        return "School{" +
                "schoolId=" + schoolId +
                ", schoolName='" + schoolName + '\'' +
                ", buildDate='" + buildDate + '\'' +
                ", subjectList=" + subjectList +
                '}';
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getBuildDate() {
        return buildDate;
    }

    public void setBuildDate(String buildDate) {
        this.buildDate = buildDate;
    }

    public List<String> getSubjectList() {
        return subjectList;
    }

    public void setSubjectList(List<String> subjectList) {
        this.subjectList = subjectList;
    }

    public School(Integer schoolId, String schoolName, String buildDate, List<String> subjectList) {
        this.schoolId = schoolId;
        this.schoolName = schoolName;
        this.buildDate = buildDate;
        this.subjectList = subjectList;
    }

    public School() {
    }
}
